<!DOCTYPE html>
<html lang="en" xmlns: xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8"/>
    <meta content="IE=Edge" http-equiv="X-UA-Compatible"/>
    <title>绑定网贷银行卡 - 亿人宝贷款平台</title>
    <script th:src="@{/js/jquery-1.12.4.js}"></script>
    <link rel="stylesheet" th:href="@{/css/apply.css}"/>
    <link rel="stylesheet" th:href="@{/css/bootstrap.css}"/>
    <script th:src="@{/js/bootstrap.js}"></script>
    <meta content="upgrade-insecure-requests" http-equiv="Content-Security-Policy">
    <link href="http://image.xiaoniu88.com/static/WebXn/dist/images/favicon.ico" rel="shortcut icon" type="image/x-icon"/>
    <link href="http://image.xiaoniu88.com/static/WebXn/dist/css/base-ddb0535420.css" rel="stylesheet"/>
    <script src="http://image.xiaoniu88.com/static/WebXn/dist/lib/base-6100562494.js" type="text/javascript"></script>
    <link rel="stylesheet" th:href="@{/css/base-ddb0535420 (1).css}"/>

    <script>
        window.global = {
            cdn: "//image.xiaoniu88.com",
            siteroot: "https://www.xiaoniu88.com",
            staticPath: "//image.xiaoniu88.com/static/WebXn/dist",
            contextPath: "/payment",
            serverTime: "1591919679692" * 1,
            userId: "6086292",
            isLogin: true
        }
    </script>

    <script src="//image.xiaoniu88.com/static/WebXn/dist/module/common/common-83987ed24e.js" type="text/javascript"></script>
    <script>
        $(function () {
            seajs.use('module/common/common')
        })
    </script>
    <link href="//image.xiaoniu88.com/static/WebXn/dist/page/payment/deposit/apply/css/apply-73c8a78781.css" rel="stylesheet"/>
</head>
<body>
<!--<div th:include="common/admin/common::common_footer_script"/>-->
<input id="em" th:value="${session.loanUsers.email}" type="hidden"/><!--th:value="${session.user.email}"-->
<input id="emcode" type="hidden"/>
<input id="checked" type="hidden"/><!--th:value="${session.applyType}"-->

<div class="affiche" id="afficheModel">

<span>小牛在线提醒您：为了更流畅的访问本网站，建议您使用IE9.0及以上版本浏览器或360浏览器。
	<a class="link" href="http://se.360.cn" rel="nofollow" target="_blank">点击进入360官网下载&gt;&gt;</a>
</span>
    <i class="icon-common icon-common-close"></i>
</div>


<!--<header th:replace="/common::commonHeader"></header>

&lt;!&ndash;导航&ndash;&gt;
<div th:replace="/common::commonNav"></div>-->
<div class="row">
    <div th:replace="loan/public::head"></div>
</div>
<div class="container" style="width: 100%;">
    <div class="g-account-main">
        <div class="path">您现在的位置：我的账户 &gt;
            <span id="pathTitle">绑定网贷银行卡</span>
        </div>
        <div class="center user-box">

            <!--start 我的账户左边菜单列表--><!--th:replace="/user/AccountSafe::usersafe"-->
            <!--<div th:replace="AccountSafe::usersafes"></div>-->
            <div th:replace="loan/alone/AccountOverview::inflist"/>

            <script src="//image.xiaoniu88.com/static/WebXn/dist/module/userNavList/js/init-09a2ab6833.js"></script>
            <script>
                $(function () {
                    seajs.use('module/userNavList/js/init');
                });
            </script>
            <!--end 我的账户左边菜单列表-->
            <input id="userNavList" type="hidden" value="bankCard">
            <div class="account-cont" id="contanier">
                <div class="at-til">
                    <span class="name">绑定网贷银行卡</span>
                </div>
                <div class="col-md-12">
                    <div class="panel-heading" style="margin-right: 692px;">审核信息 <a class="btn btn-success"
                                                                                    onclick="addbank();" style="background-color: #658297;color: #fff;border: none">添加车辆</a></div>
                    <div class="panel panel-default ">
                        <table class="table table-striped">
                            <thead class="card">
                            <tr>

                                <th>车辆名称</th>
                                <th>车辆牌号</th>
                                <th>拥有车的时间</th>
                                <th>机动车登记证书</th>
                                <th>拥有者</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr class="active" th:each="entry:${carimfList}">
                                <td th:text="${entry.carname}"></td>
                                <td th:text="${entry.caridcard}"></td>
                                <td th:text="${entry.cardate}"></td>
                                <td><img class="img-responsive" height="50" th:src="@{${entry.carprove}}" width="50"/></td>
                                <td th:if="${entry.carowner==1}">当前归公司所有</td>
                                <td th:if="${entry.carowner==0}">当前归自己所有</td>
                                <td><a class="btn btn-success" id="tonys"
                                       style="background-color: #658297;color: #fff;border: none" th:href="@{/laon/Personal/delgrcar(id=${entry.id})}">删除</a></td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <ul class="pagination" style="margin-left: 325px">
                        <li><a th:href="@{loan/Personal/selcarinfo(currPage=1)}">&laquo;</a></li>
                        <li><a th:href="@{loan/Personal/selcarinfo(currPage=${pager.currPage-1})}">&lt;</a></li>
                        <!--<li th:each="pp:${pager.totalPage}"><a href="#" th:text="${pp}">1</a></li>-->
                        <li th:each="pagenum:${#numbers.sequence(1,pager.totalPage)}">
                                <span th:if="${pagenum} != 0">
                                    <a th:href="@{loan/Personal/selcarinfo(currPage=${pagenum})}" th:text="${pagenum}"></a>
                                </span>
                        </li>
                        <li><a th:href="@{loan/Personal/selcarinfo(currPage=${pager.currPage+1})}">&gt;</a></li>
                        <li><a th:href="@{loan/Personal/selcarinfo(currPage=${pager.totalPage})}">&raquo;</a></li>
                    </ul>
                </div>

            </div>

        </div>
        <div class="g-h30"></div>
    </div>
</div>
<!--end 内容-->


<script src="//image.xiaoniu88.com/static/WebXn/dist/page/payment/deposit/apply/js/apply-ea73681945.js"></script>
<script>
</script>


<div class="row">
    <!--网站底部-->
    <div th:replace="common/public::footer"></div>
</div>

<!--end 尾部-->

<!--引入统计代码-->

<div style="display:none">
    <script>
        (function (i, s, o, g, r, a, m) {
            i['GoogleAnalyticsObject'] = r;
            i[r] = i[r] || function () {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date();
            a = s.createElement(o),
                m = s.getElementsByTagName(o)[0];
            a.async = 1;
            a.src = g;
            m.parentNode.insertBefore(a, m)
        })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');

        ga('create', 'UA-104712537-1', 'auto');
        ga('send', 'pageview');

    </script>
</div>

<script>
    $(window).bind("load", function () {
        $("#car").css("background", "#658297");
        $("#colorcar").css("color", "#fff");
    });

    function addbank() {
        window.location.replace("[[@{/loan/Personal/carinfo}]]")
    }

    function delbank() {
        var msg = "您真的确定要删除吗？";
        if (confirm(msg) == true) {
            var delid = $("#tonys").attr("value");
            alert(delid);
            /*$.post("[[@{/Personal/delbankst}]]",{
                id : delid
            }, function (data) {
                window.location.replace("[[@{/Personal/preapply}]]")
            },'text');*/
        } else {
            return false;
        }
    }
</script>
</body>
</html>